<?php

namespace Component;

class Seo {
	
	public static $seo;
	
	public function addMeta($name, $content)
	{
		self::$seo[$name] = '<meta name="'.$name.'" content="'.$content.'">';
	}
	
	public static function render(array $seo = NULL)
	{
		if(!is_null($seo))
			self::$seo = $seo;
		
		return implode("\n", self::$seo);
	}
	
}